/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package topico1;

import java.util.Scanner;

/**
 *
 * @author leovirgilio
 */
public class MC15 {

    public static void main(String args[]) {


        System.out.println("\n***TABUADA 1 ATE 5***");
        for (int i = 1; i <= 5; i++) {
            for (int j = 1; j <= 10; j++) {
                System.out.println(i + " x " + j + " = " + j * i);
            }

        }

        System.out.println("\n***TABUADA 6 ATE 10***");
        for (int i = 6; i <= 10; i++) {
            for (int j = 1; j <= 10; j++) {
                System.out.println(i + " x " + j + " = " + j * i);
            }
        }
    }
}
